<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!-- internal list, object, ... -->
<s:action name="styleList" namespace="/" var="currentList"></s:action>

<!-- end s:actions declarations -->

<div id="titre">

	<s:url action="switchLocale" id="url_fr">
		<s:param name="request_locale">fr</s:param>
	</s:url>
	<s:url action="switchLocale" id="url_en">
		<s:param name="request_locale">en</s:param>
	</s:url>


	<span><s:text name="header.changeLanguage" /></span>
	<s:a href="%{url_fr}">
		<s:text name="header.french" />
	</s:a>
	<span>-</span>
	<s:a href="%{url_en}">
		<s:text name="header.english" />
	</s:a>

	<h1>
		<s:text name="header.titreBlog" />
	</h1>



	<s:form action="modifyPersonalStyle" method="post" id="styleRadio">

		<!-- %{getText('name')} -->

		<s:radio list="#currentList.styleList" listValue="%{getText(name)}"
			listKey="id" value="#session.currentStyle.id" name="style.id"
			onclick="this.form.submit();" />
	</s:form>

</div>